from bodhi.web import *

from bodhi.filters.gzip import GZipFilter
from bodhi.filters.http import ETagFilter
from bodhi.filters.csrf import CsrfFilter

class BaseView(View):
    _expose_ = False

    @property
    def _filters_ (self):
        return [GZipFilter(), 
                ETagFilter(),
                CsrfFilter()]


class IndexView(BaseView):
    def GET(self):
        self.response.write('Hello, world!')

